<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="common" uri="/WEB-INF/classes/com/team/engine/common/view/common.tld" %>
<%@include file="../import.jsp" %>
<html>
<head>
<%@include file="../meta.jsp" %>
<%@include file="../script.jsp" %>
<title>用户列表</title>
</head>
<body>
<p>
<c:if test="${requestScope.error==null || fn:length(requestScope.error)==0 }">成功</c:if>
<c:if test="${fn:length(requestScope.error)>0 }">失败: ${requestScope.error } ___${param.user_name }</c:if>
</p> 
<p>
<c:forEach var="user" items="${requestScope.result }">
${user.name }__${user.userDetails.sex }__${user.usergroup.nameNav }_<a href="javascript:location='user_edit.jsp?id=${user.userId }'">${user.userId }</a><br/>
</c:forEach>
<br/>
<common:subpage thisPage="${param.page }" totalPage="${requestScope.totalPage }" href="get" />
</p>
<!-- <form action="userAction.jhtm" method="post" onsubmit="javascript:tokena();">
-->
<form action="add" method="post" onsubmit="javascript:tokena();">
ID：<br/>
用户名：<input type="text" name="name"><br/>
邮箱：<input type="text" name="email"><br/>
手机号：<input type="text" name="phone"><br/>
密码：<input type="text" name="password"><br/>
确认密码：<input type="text" name="user_password_enter"><br/>
真实姓名：<input type="text" name="userDetails.surname"><br/>
性别：<input type="text" name="userDetails.sex"><br/>
<input type="text" id="token" name="token" value="" >
<input type="submit" value="提交" >
</form>
</body>
</html>